Skip to content

Fix SciPy pybind11 build dependency#3311

Merged
AndreMiras merged 1 commit intokivy:developfrom
lazycat11:fix-scipy-pybind11-meson
May 2, 2026
Merged

Fix SciPy pybind11 build dependency#3311
AndreMiras merged 1 commit intokivy:developfrom
lazycat11:fix-scipy-pybind11-meson

Conversation

@lazycat11
Copy link
Copy Markdown

@lazycat11 lazycat11 commented Apr 30, 2026

Summary

  • add SciPy's pybind11 build dependency to hostpython_prerequisites

Rationale

SciPy 1.16.2 declares pybind11>=2.13.2,<3.1.0 in pyproject.toml and uses dependency('pybind11', version: '>=2.13.2') in its Meson build. The recipe already installs NumPy and Cython as host Python prerequisites, but pybind11 was missing, so Meson could fail to resolve the pybind11 dependency during the isolated wheel build.

This keeps the fix local to the SciPy recipe and avoids changing the shared MesonRecipe flow.

Validation

  • python3 -m py_compile pythonforandroid/recipes/scipy/__init__.py pythonforandroid/recipe.py
  • git diff --check

@AndreMiras AndreMiras merged commit 8b12ed5 into kivy:develop May 2, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants